package com.zhiche.lisa.bms.dao.mapper.statistics;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.zhiche.lisa.bms.dao.model.statistics.StaticBillDetail;
import com.zhiche.lisa.bms.pojo.bo.statistics.BillDetailBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 账单明细统计表 Mapper 接口
 * </p>
 *
 * @author liangpeng
 * @since 2019-01-18
 */
public interface StaticBillDetailMapper extends BaseMapper<StaticBillDetail> {

    /**
     * 抓取应收账单明细
     * @param ew
     * @return
     */
    List<BillDetailBO> getARBillDetailBO(@Param("ew") Wrapper<BillDetailBO> ew);

    /**
     * @return
     */
    List<BillDetailBO> getBillDetailInvoiceMoney();

    /**
     * 抓取应付账单明细
     * @param ew
     * @return
     */
    List<BillDetailBO> getAPBillDetailBO(@Param("ew") Wrapper<BillDetailBO> ew);

}
